package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.MyBook;
import com.ruoyi.system.domain.vo.MyBookQueryVo;

import java.util.List;
import java.util.Map;

public interface IMyBookService extends IService<MyBook> {

    List<MyBook> getAll(MyBookQueryVo myBookQueryVo);

    MyBook getByIdWithSub(Integer bookId);

    List<Map<String,Integer>> getSubScribeCount();

}
